import request from '@/utils/request'
// 获取面经列表
export const getArticleAPI = params =>
  request.get('/h5/interview/query', { params })

// 获取面经的详细信息，包括其关联的对象
export const getOneArticleAPI = params =>
  request.get('/h5/interview/show', { params })

// 收藏、点赞题目/取消收藏、点赞题目接口
export const updateLikeAndCollectAPI = data =>
  request.post('/h5/interview/opt', data)

// 收藏、点赞题目列表查询接口
export const LikeAndCollectAPI = params =>
  request.get('/h5/interview/opt/list', { params })
